import request from '@/utils/request'

// 查询项目专家映射表列表
export function listProject_expert(query) {
  return request({
    url: '/system/project_expert/list',
    method: 'get',
    params: query
  })
}

// 查询项目专家映射表详细
export function getProject_expert(expertId) {
  return request({
    url: '/system/project_expert/' + expertId,
    method: 'get'
  })
}

// 新增项目专家映射表
export function addProject_expert(data) {
  return request({
    url: '/system/project_expert',
    method: 'post',
    data: data
  })
}

// 修改项目专家映射表
export function updateProject_expert(data) {
  return request({
    url: '/system/project_expert',
    method: 'put',
    data: data
  })
}

// 删除项目专家映射表
export function delProject_expert(expertId) {
  return request({
    url: '/system/project_expert/' + expertId,
    method: 'delete'
  })
}
